package baptizeattribute.dao;

import baptizeattribute.pojo.Config;
import baptizeattribute.resource.PathConfiguration;
import baptizeattribute.utils.IOUtil;

public class ConfigDao {
    String path= PathConfiguration.ConfiguerYml;
    public Config getConfigure(){
        Config config = new Config();
        config.setInfo(IOUtil.getString(path,"Info"));
        config.setInfo2(IOUtil.getString(path,"Info2"));
        config.setDetectionTitle(IOUtil.getString(path,"DetectionTitle"));
        config.setInvTitle(IOUtil.getString(path,"InvTitle"));
        return config;
    }
}
